﻿package com.tudou.ad.events
{
    import flash.events.*;

    public class AdItemViewEvent extends Event
    {
        private var $data:Object;
        public static const SHOW_START:String = "AdItem SHOW_START";
        public static const FLOAT_CLICK:String = "AdItem FLOAT_CLICK";
        public static const SHOW_NEAR_END:String = "AdItem SHOW_NEAR_END";
        public static const CLICK:String = "AdItem CLICK";
        public static const SHOW_END:String = "AdItem SHOW_END";

        public function AdItemViewEvent(param1:String, param2 = null, param3:Boolean = false, param4:Boolean = false)
        {
            super(param1, param3, param4);
            this.$data = param2;
            return;
        }// end function

        public function get data()
        {
            return $data;
        }// end function

    }
}
